package com.life.listeners;

import javax.annotation.Resource;
import javax.servlet.ServletContextEvent;

import org.apache.log4j.Logger;
import org.springframework.context.ApplicationContext;
import org.springframework.web.context.ContextLoaderListener;
import org.springframework.web.context.support.WebApplicationContextUtils;

public class ContextLoaderListenerOverWrite extends ContextLoaderListener
{
	private static Logger log = Logger
			.getLogger(ContextLoaderListenerOverWrite.class);

	@Override
	public void contextInitialized(ServletContextEvent event)
	{
		super.contextInitialized(event);

		ApplicationContext applicationContext = WebApplicationContextUtils
				.getWebApplicationContext(event.getServletContext());
		try
		{
			
		} catch (Exception e)
		{
			e.printStackTrace();
		}

	}

}
